/**
 * @file       UpKeyPressEvent.cpp
 * @brief      TODO
 * @author     Huabo Zheng
 * @date       Jan 13, 2012
 * @Copyright  2012, www.netgear.com Inc. All rights reserved.
 */

#include "UpKeyPressEvent.h"
#include "errorcode.h"
#include "Frame.h"
#include "typedefine.h"

namespace NS_LCD_AFW
{

CUpKeyPressEvent::CUpKeyPressEvent()
{
	this->setEventId(UP_KEY_PRESSED_EVENT_ID);
}

CUpKeyPressEvent::~CUpKeyPressEvent()
{
}

int CUpKeyPressEvent::doProcess(CFrame *pFrameEventHandler)
{
//	if (ERR_SUCCESS != pFrameEventHandler->onUpKeyPress())
//	{
//		return CKeyboardEvent::doProcess(pFrameEventHandler);
//	}
//	return ERR_SUCCESS;
	return pFrameEventHandler->onUpKeyPress();
}

} /* namespace NS_LCD_AFW */
